Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Change erased type in AnnotationTest #768

Merged

Conversation

kohlschuetter
Copy link
Contributor

Just to test a type erasure, we currently reference javax.accessibility.AccessibilityProvider, which is in the "java.deskop" module.

If we were to modularize jsweet, we would have to "requires java.desktop" just for this (or Eclipse would not be able to run unit tests).

Moreover, that module may not exist in all JVM environments.

Change to a similar class in "java.base", ServiceLoader, and adjust module-info.java.txt accordingly.

Just to test a type erasure, we currently reference
javax.accessibility.AccessibilityProvider, which is in the "java.deskop"
module.

If we were to modularize jsweet, we would have to "requires
java.desktop" just for this (or Eclipse would not be able to run unit
tests).

Moreover, that module may not exist in all JVM environments.

Change to a similar class in "java.base", ServiceLoader, and adjust
module-info.java.txt accordingly.
@kohlschuetter
Copy link
Contributor Author

@renaudpawlak This one also needs merging. Thanks!

@lgrignon lgrignon merged commit ca05c8e into cincheo:develop Oct 17, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants